package com.ly.docker.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author LY
 * @create 2023/5/5 10:12
 * @Description 测试控制层
 */
@RestController
@Slf4j
public class DockerController {

    @GetMapping("/getInfo")
    public String getInfo(String info){
        log.info("getInfo ===>>>");
        return "docker : " + info;
    }

    @GetMapping("/getInfo2")
    public String getInfo2(String info){
        log.info("getInfo ===>>>");
        return "docker2 : " + info;
    }

    @GetMapping("/getInfo3")
    public String getInfo3(String info){
        log.info("getInfo ===>>>");
        return "docker3 : " + info;
    }

    @GetMapping("/getInfo4")
    public String getInfo4(String info){
        log.info("getInfo ===>>>");
        return "docker4 : " + info;
    }

    @GetMapping("/getInfo5")
    public String getInfo5(String info){
        log.info("getInfo ===>>>");
        return "docker5 : " + info;
    }

}
